﻿using mozhi.smarterp.Business.Common;
using mozhi.smarterp.Business.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace mozhi.smarterp.Business.Sales.Orders
{
    public class SaleOrderDto : DocumentHeaderDto
    {
        public SaleOrderType Type { get; set; }

        public Guid CustomerId { get; set; }

        public string CustomerName { get; set; }

        public string Address { get; set; }

        public Guid? SalePersonId { get; set; }

        public string SalePersonName { get; set; }

        public List<SaleOrderItemDto> SaleorderItems { get; set; }
    }

    public class SaleOrderItemDto : DocumentBodyDto
    {
        public Guid SaleUnitId { get; set; }

        public string SaleUnitName { get; set; }

        public decimal SaleQuantity { get; set; }

        public bool IsGift { get; set; }
    }
}
